﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IURIP;
using System.Xml;

namespace URIP.Core
{
    public class Rule : BaseRunable, IRule
    {
        public Rule(ITemplate template, IRunable parentRunable) :
            base(template, parentRunable)
        {
        }

        protected override void RunAssis()
        {
            if (TgtWorkOnNode != null)
            {
                ((IRuleTemplate)Template).Run(this, TgtWorkOnNode);
            }
        }
    }
}
